<?php 
 if(Yii::app()->user->lang!='english'){
 	$pageName['previous'] = '上一页';
 	$pageName['next'] = '下一页';
 }else{
 	$pageName['previous'] = 'previous';
 	$pageName['next'] = 'next';
 }
?>

<div id="showForm"><?php echo $content; ?></div><br />
<div id="updateForm"><a href="#" onclick="updateContents('<?php echo $id; ?>');return false;">修改</a></div>
<hr />
修改历史:<br />
<?php echo $history; ?>
<div style="text-align:center;">
<a href="<?php echo CHtml::normalizeUrl(array('books/test', 'booksId' => $id-1 )); ?>" onclick="contentAjax(this.href,'#content');return false;"><?php echo $pageName['previous'];?></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="<?php echo CHtml::normalizeUrl(array('books/test', 'booksId' => $id+1 )); ?>" onclick="contentAjax(this.href,'#content');return false;"><?php echo $pageName['next'];?></a>
</div>

